import { DeepGet } from '@/plugins/support';
interface WidgetTextProps{
    value:Object,
    subKey:string
}

const WidgetText = (props:WidgetTextProps) => {
    const {value,subKey} = props;
    return (
       <>
       <span>{DeepGet(value,subKey)}</span>
       </>
    )
}
export default WidgetText;
export type {WidgetTextProps};